package com.commons;

import com.socket.DanmakuShieldWS;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.io.IOException;

@Component
public class DanmakuShieldTask {
    @Scheduled(cron = "*/10 * * * * *")
    public void buildCount() throws IOException{
        DanmakuShieldWS.sendInfo();
    }
}
